<%--
  Created by IntelliJ IDEA.
  User: 12460
  Date: 2024/11/30
  Time: 14:33
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isErrorPage="true" %> <%-- 设置当前页面为错误页面--%>
<html>
<head>
    <title>Title</title>
</head>
<body>
    <%-- 获取上一个页面的错误信息--%>
    <h1> 页面出现了错误！错误信息： <%=exception.getMessage() %></h1>
</body>
</html>
